import React from "react";
import BaseComponent from "@/components/BaseComponent";
import './home.less';
import '@ant-design/pro-form/dist/form.css';
import ProForm, { ProFormText } from '@ant-design/pro-form';


interface Props{
    title?: '',
}
class Home extends BaseComponent<Props, any>{
    constructor(props: Props) {
        super(props);
        this.state = {
            date: '',
            ellipsis: true
        }
    }

    handleChange = (v: any) => {
        console.log(v);
    }

    render() {
        return (
            <>
                <div className="App">
                    <ProForm
                        onFinish={async (values) => {
                            console.log(values);
                        }}
                    >
                        <ProFormText name="name" label="姓名" />
                    </ProForm>
                </div>
            </>
        );
    }
}

export default Home;